import java.util.Scanner;
import java.math.*;
public class 圆的体积 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("输入圆的半径");
        double r = in.nextDouble();
        System.out.println("输入高");
        double height = in.nextDouble();
        double pie = 3.14;
        double tiji = pie*(Math.pow(r,2))*height;
        System.out.println(Math.round(tiji));
    }
}
